package com.fay.designPattern.pattern.behavior.observer;

/**
 * @Title:
 * @Description:
 * @Author Fay Wang
 * @Date 2022/4/20 15:03
 * @Version 1.0
 */
public class RegPromotionObserver implements RegObserver {
    private PromotionService promotionService;

    @Override
    public void handleRegSuccess(long userId) {
        promotionService.issueNewUserExperienceCash(userId);
    }
}
